package org.action.inventory.service;


import com.baomidou.mybatisplus.extension.service.IService;
import org.action.inventory.domain.entity.ActionTicket;

import java.math.BigDecimal;
import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zafkiel
 * @since 2025-06-21
 */
public interface IActionTicketService extends IService<ActionTicket> {
    //进行活动的票数扣减操作
    boolean deductActionTicket(Integer id);

    List<BigDecimal> getActionTicketPriceByIds(List<Integer> ids);

    boolean restoreStock(Integer ticketId);

    void saveActionTicket(ActionTicket actionTicket);
}
